<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		/*1、块在一排显示*/
		div{
			width: 100px;
			height: 100px;
			background-color: red;
			float: left;
		}
		
		/*2、内联支持宽高*/
		span{
			float: left;
			height: 100px;
			width: 100px;
			background-color:blue;
		}
	</style>
</head>
<body>
<!-- 	<div>div</div>
	<div>div</div>
	<div>div</div>
	<div>div</div> -->


	<span>span</span>
	<span>span</span>
	<span>span</span>
	<span>span</span>

	
</body>
</html>